package com.whnk.model.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.whnk.common.core.annotation.Excel;
import com.whnk.common.core.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 作业执行情况对象 flw_t_schedule_run_status
 * 
 * @author whnk
 * @date 2021-08-31
 */
public class FlwTScheduleRunStatus extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 逻辑ID */
    private Long id;

    /** 隶属客户编号 */
    @Excel(name = "隶属客户编号")
    private String custId;

    /** 模型编号 */
    @Excel(name = "模型编号")
    private String modelId;

    /** 执行结果状态 */
    @Excel(name = "执行结果状态")
    private String executeStatus;

    /** 执行开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "执行开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date executeStartTime;

    /** 执行结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "执行结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date executeEndTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCustId(String custId) 
    {
        this.custId = custId;
    }

    public String getCustId() 
    {
        return custId;
    }
    public void setModelId(String modelId) 
    {
        this.modelId = modelId;
    }

    public String getModelId() 
    {
        return modelId;
    }
    public void setExecuteStatus(String executeStatus) 
    {
        this.executeStatus = executeStatus;
    }

    public String getExecuteStatus() 
    {
        return executeStatus;
    }
    public void setExecuteStartTime(Date executeStartTime) 
    {
        this.executeStartTime = executeStartTime;
    }

    public Date getExecuteStartTime() 
    {
        return executeStartTime;
    }
    public void setExecuteEndTime(Date executeEndTime) 
    {
        this.executeEndTime = executeEndTime;
    }

    public Date getExecuteEndTime() 
    {
        return executeEndTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("custId", getCustId())
            .append("modelId", getModelId())
            .append("executeStatus", getExecuteStatus())
            .append("executeStartTime", getExecuteStartTime())
            .append("executeEndTime", getExecuteEndTime())
            .toString();
    }
}
